/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ling
 * Date: 2022-05-11
 * Time: 11:53
 */
public class Test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList=new MyLinkedList();
        myLinkedList.addFirst(1);
        myLinkedList.addFirst(2);
        myLinkedList.addLast(3);
        myLinkedList.addLast(4);
        myLinkedList.addIndex(1,5);
        myLinkedList.addFirst(1);
        myLinkedList.addFirst(3);
        myLinkedList.removeAllKey(3);
        myLinkedList.display();
        System.out.println(myLinkedList.contains(5));
    }
}
